Skip to main content

Streamlining work with Assisted Sign-On and Start My Day

7 Tasks

20 mins

Pega Robotic Automation 22.1
Visible to: All users
Beginner Pega Robotic Automation 22.1 Robotic Process Automation English

Scenario

The Robotic Banking company plans to streamline work by allowing its workers to automatically open and log in to everyday work applications and web pages. To do so, the company configures the Extra Mile project that implements Assisted Sign-On and Start My Day features using Pega Robot Studio.  

Note: Note that the UI presented in the exercise will be updated in the following sprints by the UI development team.  

Complete the following tasks:

  • Add a control to the Windows Form.
  • Use the Windows Form event as a trigger of an automation.
  • Configure Assisted Sign-On for a BankerInsight application and Pega Finance webpage using Credential Collection Editor. 
  • Add the BankerInsight and Pega Finance to the Start My Day using automatic settings.
  • Set up applications' position and size using the Manage Application dialog.

 

You must initiate your own Pega instance to complete this Challenge.

Initialization may take up to 5 minutes so please be patient.

Challenge Walkthrough

Detailed Tasks

1 Add a new control to the Windows form

  1. Download the Expense Tracker Challenge project: ​
  2. Save the file to your desktop and unzip the file to extract the project folder to your C:\Users\<username>\Documents\Pega Robot Studio\Projects\.
  3. On the Home screen in Pega Robot Studio, click Open Project, and then navigate to the projects folder and open RoboticBanking.pegaproject.
Note: The starter project includes a configured BankerInsight application. The value of the Path field must match the location of BankerInsight on your local computer for the project to function properly. In the BankerInsight application, change the value of the Path to the location of your BankerInsight application. 
  1. On the Project Explorer, click User interface to open the Design Form of the Robotic Banking UI.
  2. In he Toolbox dialog box, in the search field, enter Button.
    Adding button to Windows form
  3. Click the Button control and draw the button shape on the Design Form to add a button to the UI.
    Tip: If a Property Grid is not displayed, open it using the arrow button on the right corner.
    Opening the Property Grid
  4. From the Property Grid of the button, in the Name field, enter Run Extra Mile
  5. Repeat  step 7 to change the Text property to Run Extra Mile
  6. In the Design Form, resize the button to display the full name of the button. 
    Adding button to the User interface
  7. Save the Windows Form. 

2 Use the Windows form event as a triggering event of the Extra Mile automation

  1. On the Project Explorer, click Extra Mile to open the automation.
  2. Add the User interface window form to the Extra Mile automation:
    1. On the Extra Mile automation, click Include to open Include in palette window.
    2. In the Include in palette window, click the Form tab.
      Screenshot showing the Form tab of The Include in palette dialog box
    3. In the User interface row, click the Add button to add the Windows form to the automation.
    4. Click Done to close the Include in palette window. 
  3. On the Palette, expand the Forms section, and then click User interface to expose the Windows form controls. 
    Windows Form controls
  4. Drag the Run Extra Mile button to the automation surface to open the Select action window. 
  5. In the Select action window, select Click event.
  6. Click Add to add the Click event to the automation. 
    Screenshot showing the starting event of the Extra Mile automation and Forms' controls.
  7. Save the automation. 

3 Configure ASO for a BankerInsight application using Credential Collector Editor

  1. Click the Project tab to open the Project Explorer.
  2. In the Project Explorer, click BankerInsight to open the application. 
  3. On the Property Grid, on the Credentials property, click the More icon to open the Credential Collection Editor
    Screenshot showing an application property grid with access to the credentials editor.
  4. In the Credential Collection Editor, click Add to configure credentials.
    The BankerInsight application is displayed on the members' list.
  5. In the Controls section, select each control and click the More icon.
    Screenshot showing the process of adding login controls to the ASO.
  6. In the Controls, click the + icon to view the BankerInsight properties and configure login controls with the following values:
    Control name Value

    LoginControl

    BankerInsight\btnLogin

    PasswordControl

    BankerInsight\txtPassword

    UserNameControl

    BankerInsight\txtUserName

     
    Credential Collector Editor window
  7. Click OK to close Credential Collection Editor.
  8. Save the application changes. 
  9. On the toolbar, click Run all to run the product and display the Enter Credentials window.
  10. In the  Enter Credentials window, in both the User Name and Password fields, enter pega.
    Screenshot showing the Enter credentials window of Assisted Sign-On feature.
  11. Click OK to close the Enter Credentials window. Pega Robot Studio will automatically log in to the BankerInsight using provided credentials.
  12. Close the BankerInsight application and click Stop on the toolbar to stop the project execution.
    Screenshot showing the toolbar of PRS with button allowed to stop project execution.

4 Configure ASO for a Pega Finance application using the Credential Collector Editor

  1. Click the Project tab to open the Project Explorer.
  2. On the Project Explorer, click Pega Finance to open the application. 
  3. Repeat the procedure from Task 3 (Configure ASO for a BankerInsight application using Credential Collector Editor), with the following controls: 
    Control name Value
    LoginControl

    Pega Finance\btnSignIn

    PasswordControl

    Pega Finance\txtPassword

    UserNameControl

    Pega Finance\txtUserName

     
    Credential Collector Editor window for Pega Finance
  4. On the toolbar, click Save to save the changes. 

5 Configure Start My Day for the BankerInsight application

  1. Click the Project tab to open the Project Explorer.
  2. On the Project Explorer, click BankerInsight to open the application. 
  3. On the Property Grid, in the StartMyDay list, select Automatic
    Screenshot showing the webb application property grid for ASO feature.
  4. In the search field of the BankerInsight application, click the More icon, and then select Advanced view to display an advanced view of the Property Grid. 
    Screenshot showing how to display the advanced view of the property grid.
  5. In advanced view of the Property Grid, click the StartMyDayControls list, and then select the frmLoginForm and frmBankerInsight controls to include them in the Start My Day feature.
    Screenshot showing an advanced view of property grid with start my day controls.
  6. Click OK to close the StartMyDayControls list.
  7. Save the application changes. 

6 Configure Start My Day for the Pega Finance webpage

  1. Click the Project tab to open the Project Explorer.
  2. On the Project Explorer, click Pega Finance to open the application. 
  3. Repeat the procedure from Task 5 (Configure Start My Day for the BankerInsight application), with the frmPegaFinance control. 
    Screenshot showing StartMyDayControls property on the advanced property grid.
  4. Save the application changes.  

7 Create an automation that displays the Manage Application window and runs Start My Day

  1. Click the Project tab to open the Project Explorer.
  2. On the Project Explorer, click Extra Mile to open the automation. 
  3. On the automation surface, click and drag the dot that represents the output automation link to open the Toolbox dialog box. 
  4. In the Quick add dialog box, in the search field, enter ShowDialog to find the method that displays the Manage Application dialog box. Double-click the method to add it to the automation surface.
    Screenshot showing the addition of the StartMyDay ShowDialog method to the automation surface.
  5. From the Toolbox, click Accelerators > StartMyDay to display the Start My Day methods.
    SMD methods
  6. In the list, drag the StartMyDay method to the automation surface, and connect it to the True output of the ShowDialog design box as shown in the following image:
    The automation surface with StartMyDay methods added.
  7. Save the automation.
  8. On the toolbar, click Run all to run the project. 
  9. On the User interface, click Run Extra Mile to display the Manage Applications window.
    Verification step for Manage Application window
  10. In the Enabled column, select the check boxes for the BankerInsight and PegaFinance applications.
  11. Set the position and size as shown in the following image.
    Verification step for setting up position and size
  12. Click OK to close the Manage Applications window. 

Confirm your work

  1. On the Project tab of Pega Robot Studio, click Run all to run the project. Ensure that the User interface is correctly displayed.
  2. On the User interface, click Run Extra Mile to run the automation and display the Manage Applications window. 
  3. Click OK to close the Manage Applications window.
  4. Ensure that the automation logs in to both applications.
  5. Ensure that both applications are displayed according to settings you made in the Manage Applications window. 
    Screenshot showing the result of verification of the challenge.

This Challenge is to practice what you learned in the following Module:


Available in the following mission:

If you are having problems with your training, please review the Pega Academy Support FAQs.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Academy has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice